<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/pagination" prefix="p" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>首页</title>
</head>

<body>
	<table border="1" align="center">
		<caption>学生信息管理</caption>
		<tr>
			<th>编号</th>
			<th>姓名</th>
			<th>性别</th>
			<th>出生日期</th>
			<th>电话</th>
			<th>操作</th>
		</tr>
		
		<c:forEach var="s" items="${pageMap.studentList }">
			<tr>
				<td>${s.id }</td>
				<td>${s.name }</td>
				<td>${s.sex }</td>
				<td>${s.birthday }</td>
				<td>${s.tel }</td>
				<td>
					<a href="#">修改</a>
					<a href="#">删除</a>
				</td>
			</tr>
		</c:forEach>
		<tr>
			<td colspan="6">
			
				<p:pagination pageIndex="${pageIndex }" url="/ssm/student/list" count="${pageMap.count }"/>
			</td>
		</tr>
	</table>
</body>
</html>
